import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
      menuData:[]   //  声明菜单数组
  },

  getters: {
  },
  mutations: {
     initMenu(state,payload){
        state.menuData = payload
     }
  },
  actions: {
  },
  modules: {
  }
})
